package src.Note.Note9;

/**
 * @Author： 20192315裴湘瑞
 * @Date: 2020/11/16 10:58
 * @Version: 1.0
 * @Target：
 * @Requirement：
 */
public class Hero {
    String name;
    String role;
    int price;
    public void attack(double percent,String heroName) {
        System.out.println("本场比赛" + heroName + "一共打出了" + percent + "%的伤害");
    }
    public void MVP(String heroName) {
        System.out.println("本场比赛MVP为：" + heroName);
    }
}
